package Json;

import com.google.gson.JsonObject;

/**
 * @Author: Jie
 * @Date: 2019/4/17 15:58
 * @Function :
 */
public class CreateJsonStr {
    public static void main(String[] args) {
        JsonObject sonObj = new JsonObject();
        sonObj.addProperty("son","sonValue");
        sonObj.addProperty("son","sonValue22");
        JsonObject jsonObject = new JsonObject();
        System.out.println(sonObj.toString());
        jsonObject.addProperty("Parent",sonObj.toString());
        System.out.println(jsonObject.toString());


    }
}
